﻿/// <reference path="~/Scripts/jquery-1.7.1.min.js"
String.prototype.format = function () {
    var args = arguments;
    return this.replace(/\{(\d+)\}/g,
        function (m, i) {
            return args[i];
        });
}
